postMain

fun postMain(block: () -> Unit)

Posts a runnable to the MainLooper message queue

Parameters

block

code to be executed on main thread